#ifndef SORT_DATAREADER_H
#define SORT_DATAREADER_H

#include <tinyxml.h>
#include <string>

namespace SORT
{
	namespace DataIO
	{
		class CXMLLikeReader
		{
		private:
			TiXmlDocument m_doc;
			bool	m_loaded;
		public:		

			CXMLLikeReader(): m_loaded(false) {}

			bool readFromFile( const std::string &fileName );			
			bool getLoadedDocument( TiXmlDocument &doc );
			TiXmlDocument getLoadedDocument();

		};

	}
}

#endif